Optimal. Leaf size=134 \[ \frac {a (e x)^{1+m}}{e (1+m)}+\frac {i b e^{i c} (e x)^{1+m} \left (-i d x^2\right )^{\frac {1}{2} (-1-m)} \Gamma \left (\frac {1+m}{2},-i d x^2\right )}{4 e}-\frac {i b e^{-i c} (e x)^{1+m} \left (i d x^2\right )^{\frac {1}{2} (-1-m)} \Gamma \left (\frac {1+m}{2},i d x^2\right )}{4 e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 134, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {14, 3470, 2250}
\begin {gather*} \frac {i b e^{i c} \left (-i d x^2\right )^{\frac {1}{2} (-m-1)} (e x)^{m+1} \text {Gamma}\left (\frac {m+1}{2},-i d x^2\right )}{4 e}-\frac {i b e^{-i c} \left (i d x^2\right )^{\frac {1}{2} (-m-1)} (e x)^{m+1} \text {Gamma}\left (\frac {m+1}{2},i d x^2\right )}{4 e}+\frac {a (e x)^{m+1}}{e (m+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2250
Rule 3470
Rubi steps
\begin {align*} \int (e x)^m \left (a+b \sin \left (c+d x^2\right )\right ) \, dx &=\int \left (a (e x)^m+b (e x)^m \sin \left (c+d x^2\right )\right ) \, dx\\ &=\frac {a (e x)^{1+m}}{e (1+m)}+b \int (e x)^m \sin \left (c+d x^2\right ) \, dx\\ &=\frac {a (e x)^{1+m}}{e (1+m)}+\frac {1}{2} (i b) \int e^{-i c-i d x^2} (e x)^m \, dx-\frac {1}{2} (i b) \int e^{i c+i d x^2} (e x)^m \, dx\\ &=\frac {a (e x)^{1+m}}{e (1+m)}+\frac {i b e^{i c} (e x)^{1+m} \left (-i d x^2\right )^{\frac {1}{2} (-1-m)} \Gamma \left (\frac {1+m}{2},-i d x^2\right )}{4 e}-\frac {i b e^{-i c} (e x)^{1+m} \left (i d x^2\right )^{\frac {1}{2} (-1-m)} \Gamma \left (\frac {1+m}{2},i d x^2\right )}{4 e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.05, size = 149, normalized size = 1.11 \begin {gather*} \frac {x (e x)^m \left (d^2 x^4\right )^{\frac {1}{2} (-1-m)} \left (4 a \left (d^2 x^4\right )^{\frac {1+m}{2}}-i b (1+m) \left (-i d x^2\right )^{\frac {1+m}{2}} \Gamma \left (\frac {1+m}{2},i d x^2\right ) (\cos (c)-i \sin (c))+i b (1+m) \left (i d x^2\right )^{\frac {1+m}{2}} \Gamma \left (\frac {1+m}{2},-i d x^2\right ) (\cos (c)+i \sin (c))\right )}{4 (1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \left (e x \right )^{m} \left (a +b \sin \left (d \,x^{2}+c \right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.11, size = 93, normalized size = 0.69 \begin {gather*} \frac {4 \, \left (x e\right )^{m} a d x - {\left (b m + b\right )} e^{\left (-\frac {1}{2} \, {\left (m - 1\right )} \log \left (i \, d e^{\left (-2\right )}\right ) - i \, c + 1\right )} \Gamma \left (\frac {1}{2} \, m + \frac {1}{2}, i \, d x^{2}\right ) - {\left (b m + b\right )} e^{\left (-\frac {1}{2} \, {\left (m - 1\right )} \log \left (-i \, d e^{\left (-2\right )}\right ) + i \, c + 1\right )} \Gamma \left (\frac {1}{2} \, m + \frac {1}{2}, -i \, d x^{2}\right )}{4 \, {\left (d m + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (e x\right )^{m} \left (a + b \sin {\left (c + d x^{2} \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (e\,x\right )}^m\,\left (a+b\,\sin \left (d\,x^2+c\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________